package com.yyfax.pay.vo.order;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.lang.reflect.Member;

public class ProtocolCardQueryReq implements Serializable {

    @NotBlank(message = "userId不能为空")
    private String userId;

    @NotBlank(message = "paymentCode不能为空")
    private String paymentCode;

    @NotNull(message = "certifyType不能为空")
    private Integer certifyType;

    @NotBlank(message = "idNo不能为空")
    private String idNo;

    @NotBlank(message = "cardNo不能为空")
    private String cardNo;

    @NotBlank(message = "accountName不能为空")
    private String accountName;

    @NotBlank(message = "phone不能为空")
    private String phone;

    @NotBlank(message = "bankCode不能为空")
    private String bankCode;

    public String getBankCode() {
        return bankCode;
    }

    public void setBankCode(String bankCode) {
        this.bankCode = bankCode;
    }

    public Integer getCertifyType() {
        return certifyType;
    }

    public void setCertifyType(Integer certifyType) {
        this.certifyType = certifyType;
    }

    public String getIdNo() {
        return idNo;
    }

    public void setIdNo(String idNo) {
        this.idNo = idNo;
    }

    public String getCardNo() {
        return cardNo;
    }

    public void setCardNo(String cardNo) {
        this.cardNo = cardNo;
    }

    public String getAccountName() {
        return accountName;
    }

    public void setAccountName(String accountName) {
        this.accountName = accountName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getPaymentCode() {
        return paymentCode;
    }

    public void setPaymentCode(String paymentCode) {
        this.paymentCode = paymentCode;
    }

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this, ToStringStyle.SHORT_PREFIX_STYLE);
    }
}
